source/app.d(12,52): Error: cannot take address of local `file` in `@safe` function `main` source/app.d(13,36): Error: cannot take address of local `url` in `@safe` function `main` source/app.d(14,48): Error: cannot take address of local `id` in `@safe` function `main` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(2170,10): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(2141,10): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(2142,10): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1876,17): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1186,9): Error: function `std.net.curl.FTP.Protocol!().onSend(ulong delegate(void[]) callback)` is not callable using argument types `(ulong delegate(void[] buf) pure nothrow @nogc @system)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1186,9): cannot pass argument `__dgliteral5` of type `ulong delegate(void[] buf) pure nothrow @nogc @system` to parameter `ulong delegate(void[]) callback` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(566,16): Error: template instance `std.net.curl._basicFTP!char` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1464,20): instantiated from here: `get!(FTP, char)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1358,36): instantiated from here: `_getForRange!(char, AutoProtocol)` source/loader.d(12,22): instantiated from here: `byLine!(AutoProtocol, char, char)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(2170,10): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(2141,10): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(2142,10): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1876,17): Error: no property `curl` for type `std.typecons.RefCounted!(Impl, cast(RefCountedAutoInitialize)1)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1048,9): Error: function `std.net.curl.HTTP.Protocol!().onSend(ulong delegate(void[]) callback)` is not callable using argument types `(ulong delegate(void[] buf) pure nothrow @nogc @system)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1048,9): cannot pass argument `__dgliteral5` of type `ulong delegate(void[] buf) pure nothrow @nogc @system` to parameter `ulong delegate(void[]) callback` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(561,16): Error: template instance `std.net.curl._basicHTTP!char` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1466,20): instantiated from here: `get!(HTTP, char)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(1358,36): instantiated from here: `_getForRange!(char, AutoProtocol)` source/loader.d(12,22): instantiated from here: `byLine!(AutoProtocol, char, char)` source/loader.d(13,16): Error: `@safe` function `loader.content` cannot call `@system` function `std.stdio.File.byLineCopy!(char, immutable(char)).byLineCopy` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/stdio.d(2435,10): `std.stdio.File.byLineCopy!(char, immutable(char)).byLineCopy` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(36,28): Error: template instance `std.regex.internal.ir.RuntimeFactory!(BacktrackingMatcher, char)` error instantiating /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(1025,25): instantiated from here: `makeRegex!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(443,19): instantiated from here: `Parser!(string, CodeGen)` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(391,25): instantiated from here: `regexImpl!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/package.d(399,17): instantiated from here: `regex!(string, immutable(char))` source/poi.d(49,42): instantiated from here: `regex!string` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/ir.d(525,41): Error: `@safe` function `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char).RuntimeFactory.construct` cannot call `@system` function `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/conv.d(4724,3): `std.conv.emplace!(EngineType!(char, Input!char), const(Regex!char), Input!char, void[]).emplace` is declared here /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/regex/internal/parser.d(38,27): Error: template instance `std.regex.internal.ir.RuntimeFactory!(ThompsonMatcher, char)` error instantiating /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.